<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>结算页面</title>

	<%-- 静态包含 base标签、css样式、jQuery文件 --%>
	<%@ include file="/pages/common/head.jsp"%>

	<style type="text/css">
		h1 {
			text-align: center;
			margin-top: 200px;
		}
	</style>
</head>
<body>
	
	<div id="header">
			<img class="logo_img" alt="" src="static/img/logo.jpg" >
			<span class="wel_word">结算</span>

		<div>
		    <span>欢迎<span class="um_span">${sessionScope.user.name}</span>光临</span>
		    <a href="client/orderServlet?action=showOrder">我的订单</a>
		    <a href="userServlet?action=logout">退出登录</a>&nbsp;&nbsp;&nbsp;
		    <a href="cartServlet?action=showCart">购物车</a>
		    
			<c:if test="${not empty sessionScope.admin}">
				<a href="pages/admin/admin.jsp">后台管理</a>
			</c:if>&nbsp;&nbsp;
			
		    <a href="index.jsp">返回</a>
		</div>


	</div>
	
	<div id="main">
		
		<h1>您的订单已结算，订单号为: ${sessionScope.orderId}</h1>
		
	</div>

	<%--静态包含页脚内容--%>
	<%@include file="/pages/common/footer.jsp"%>

</body>
</html>